Date format mapper - redo#7041
Conversation
PR Summary
|
sc0ttkclark
left a comment
There was a problem hiding this comment.
Some changes here needed but it's very close. Let's be sure to add coverage for all of the available options/logic in the tests/codeception/wpunit/Pods/MappingTest.php file.
PR Summary
|
Co-authored-by: Scott Kingsley Clark <lol@scottkclark.com>
PR Summary
|
PR Summary
|
PR Summary
|
PR Summary
|
PR Summary
|
PR Summary
|
sc0ttkclark
left a comment
There was a problem hiding this comment.
Looks good to me, we could improve with some assertions on an object field but it's good either way
I do not get why the tests are failing, and definitely not why it returns false. |
Related: #4525
Related: #5675
Description
This is a redo from an earlier PR: #5676
With this PR you can set your own formats when using date fields.
Text from prev PR:
This PR does NOT change the default behavior. It only adds the option to define a format (or select WP default format).
Testing instructions
Screenshots / screencast
Changelog text for these changes
PR checklist